package com.css.zfzx.fxpg.modules.percent.daynight.repository.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author leon
 * @date 2020-11-12
 */
@Data
@Entity
@Table(name = "fx_day_night_percent")
public class FxDayNightPercentEntity implements Serializable {

    /**
     * 房屋类别
     */
    @Column(name = "house_type")
    private String houseType;

    /**
     * 白天最小值
     */
    @Column(name = "day_min")
    private String dayMin;
    /**
     * 白天最大值
     */
    @Column(name = "day_max")
    private String dayMax;

    /**
     * 夜间最小值
     */
    @Column(name = "night_min")
    private String nightMin;
    /**
     * 夜间最大值
     */
    @Column(name = "night_max")
    private String nightMax;

    /**
     * 分区标识
     */
    @Column(name = "partition_flag")
    private String partitionFlag;
    /**
     * 行政区划组合编码+探槽码
     */
    @Column(name = "object_code")
    private String objectCode;
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;
    /**
     * 是否有效
     */
    @Column(name = "is_valid")
    private String isValid;

    /**
     * 创建人
     */
    @Column(name = "create_user")
    private String createUser;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    /**
     * 修改人
     */
    @Column(name = "update_user")
    private String updateUser;
    /**
     * 修改时间
     */
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
}

